package com.ibeetl.admin.core.entity;

import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.LogicDelete;
import org.beetl.sql.core.annotatoin.SeqID;

import javax.validation.constraints.NotNull;
import java.util.Date;


/* 
* 
* gen by Spring Boot2 Admin 2020-09-10
*/
public class CoreConfig extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	

    private String title ;
	

    private String content ;
    private String contentEn;
    private String contentIt;
	

    private String url ;
	

    private Date createTime ;
	

    private Date showTime ;
	

    private String attr1 ;
	

    private String attr2 ;
	

    private String attr3 ;
	

    private String attachmentId ;

    private String imageId;
	
	/*逻辑删除标志*/
	@InsertIgnore
	@LogicDelete(value = 1)

    private String delFlag ;
	

    private Integer seq ;
	

    private Integer int1 ;
	

    private Integer int2 ;
	

    private Integer int3 ;
	

    private Integer int4 ;
	

    private Integer int5 ;
	

    private Integer long1 ;
	

    private Integer long2 ;
	

    private Integer long3 ;
	

    private Integer long4 ;
	

    private Integer long5 ;
	
    public CoreConfig(){
    }

    public Integer getId(){
        return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    public String getTitle(){
        return  title;
    }
    public void setTitle(String title){
        this.title = title;
    }

    public String getContent(){
        return  content;
    }
    public void setContent(String content){
        this.content = content;
    }

    public String getUrl(){
        return  url;
    }
    public void setUrl(String url){
        this.url = url;
    }

    public Date getCreateTime(){
        return  createTime;
    }
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Date getShowTime(){
        return  showTime;
    }
    public void setShowTime(Date showTime){
        this.showTime = showTime;
    }

    public String getAttr1(){
        return  attr1;
    }
    public void setAttr1(String attr1){
        this.attr1 = attr1;
    }

    public String getAttr2(){
        return  attr2;
    }
    public void setAttr2(String attr2){
        this.attr2 = attr2;
    }

    public String getAttr3(){
        return  attr3;
    }
    public void setAttr3(String attr3){
        this.attr3 = attr3;
    }

    public String getAttachmentId() {
		return attachmentId;
	}

	public void setAttachmentId(String attachmentId) {
		this.attachmentId = attachmentId;
	}

	public String getDelFlag(){
        return  delFlag;
    }
    public void setDelFlag(String delFlag){
        this.delFlag = delFlag;
    }

    public Integer getSeq(){
        return  seq;
    }
    public void setSeq(Integer seq){
        this.seq = seq;
    }

    public Integer getInt1(){
        return  int1;
    }
    public void setInt1(Integer int1){
        this.int1 = int1;
    }

    public Integer getInt2(){
        return  int2;
    }
    public void setInt2(Integer int2){
        this.int2 = int2;
    }

    public Integer getInt3(){
        return  int3;
    }
    public void setInt3(Integer int3){
        this.int3 = int3;
    }

    public Integer getInt4(){
        return  int4;
    }
    public void setInt4(Integer int4){
        this.int4 = int4;
    }

    public Integer getInt5(){
        return  int5;
    }
    public void setInt5(Integer int5){
        this.int5 = int5;
    }

    public Integer getLong1(){
        return  long1;
    }
    public void setLong1(Integer long1){
        this.long1 = long1;
    }

    public Integer getLong2(){
        return  long2;
    }
    public void setLong2(Integer long2){
        this.long2 = long2;
    }

    public Integer getLong3(){
        return  long3;
    }
    public void setLong3(Integer long3){
        this.long3 = long3;
    }

    public Integer getLong4(){
        return  long4;
    }
    public void setLong4(Integer long4){
        this.long4 = long4;
    }

    public Integer getLong5(){
        return  long5;
    }
    public void setLong5(Integer long5){
        this.long5 = long5;
    }

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public String getContentEn() {
        return contentEn;
    }

    public void setContentEn(String contentEn) {
        this.contentEn = contentEn;
    }

    public String getContentIt() {
        return contentIt;
    }

    public void setContentIt(String contentIt) {
        this.contentIt = contentIt;
    }
}
